package cn.tsvtc.shop.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: Athena
 * @date: 2020/11/6 15:21
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orderpay implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    private String orderid;
    private String paystatus;
    private double payamount;
    private String createtime;
    private String paymethod;
    private String confirmdate;
    private String confirmuser;
    private String remark;
    private String tradeNo;

    public static final String orderpay_paystatus_y = "y";//支付成功
    public static final String orderpay_paystatus_n = "n";//未支付成功

    public static final String orderpay_paymethod_alipayescow = "alipayescow";//支付宝纯担保交易接口

    public void clear() {
        id = null;
        orderid = null;
        paystatus = null;
        payamount = 0;
        createtime = null;
        paymethod = null;
        confirmdate = null;
        confirmuser = null;
        remark = null;
        tradeNo = null;
    }

}
